package cn.chinaflame.pagodas.utils.lib;

import cn.chinaflame.pagodas.enums.CodeEnum;

public enum EnuResult {

    ERROR(0, CodeEnum.FAIL.getCode()),
    SUCCESS(1, CodeEnum.SUCCESS.getCode());
    private final int flag;
    private final String value;

    private EnuResult(int flag, String value) {
        this.flag = flag;
        this.value = value;
    }

    ;


    public int getFlag() {
        return flag;
    }


    public String getValue() {
        return value;
    }

}
